# total = 0
# for add in range(1,100):
#     total = total + add
#     print(total)             #简直是笑话，哈哈，🤣

# total = 0
# for i in range(1,100):
#     total += i
# print(total)                 #笑话二，range不包含结束值（100）

total = 0
for j in range(1,101):         #其实刚才又写成了100，运行之后才发现，偷偷改回来了
    total = total + j
print(total)
